//
//  PromptCell.swift
//  AirTravel
//
//  Created by apple on 2021/7/21.
//

import UIKit

class PromptCell: UITableViewCell {
    
    @IBOutlet weak var contentLab: UILabel!
    @IBOutlet weak var timeToLab: UILabel!
    @IBOutlet weak var phontTf: UITextField!
    /// 区号
    @IBOutlet weak var areaBtn: UIButton!
    @IBOutlet weak var backView: UIView!
    @IBOutlet weak var backView2: UIView!
    @IBOutlet weak var backView1: UIView!
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        
        ///延迟执行之前的代码
        DispatchQueue.main.asyncAfter(deadline: .now() + 0.3, execute:{
            self.backView.addCorner(conrners: [.bottomLeft,.bottomRight], radius: 6)
        })
        self.backView1.layer.cornerRadius = 6
        self.backView1.layer.masksToBounds = true
        self.backView2.layer.cornerRadius = 6
        self.backView2.layer.masksToBounds = true
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
